package Frame;

import javax.swing.*;
import java.awt.*;

public class Login extends JPanel {
    private  JTextField account;
    private  JPasswordField password;
    public  Login(){
        setLayout(new GridLayout(4,2));
        JLabel accountLabel = new JLabel("账号：");
        account  =new JTextField();
        JLabel passwordLabel = new JLabel("密码:");
        password =new JPasswordField();

    }
}
